/*
 * GraphImp.java
 *
 * Created on 2007年10月12日, 下午3:05
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package com.exclamation.util.graph;

/**
 *
 * @author littlerock
 */
public interface GraphImp extends Graph {

    public Vertex addVertex();

    public Vertex addVertex(int id);

    public Edge addEdge(int id, int from, int to);

    public Edge addEdge(int from, int to);

    public int removeVertex(int v);

    public int removeEdge(int e);

    public void clear();

    public Graph copyFrom(Graph g);

    public Graph copyTo(GraphImp g);
}
